var render = function () {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c(
    "div",
    { staticClass: "guaguale", class: _vm.styleTemplate },
    [
      _vm.browserkernel == "h5"
        ? _c("div", { staticClass: "mobilePanel" }, [
            _c("div", { staticClass: "img1" }, [
              _c(
                "div",
                {
                  staticClass: "hdjn",
                  on: {
                    click: function ($event) {
                      _vm.ruleShow = true;
                    },
                  },
                },
                [_vm._v("活动锦囊")]
              ),
              _vm._v(" "),
              _vm.rules
                ? _c("p", [
                    _vm._v(
                      "活动日期：" +
                        _vm._s(_vm.rules.time.start_time) +
                        "至" +
                        _vm._s(_vm.rules.time.end_time)
                    ),
                  ])
                : _vm._e(),
            ]),
            _vm._v(" "),
            _c("div", { staticClass: "panel" }, [
              _c("div", { staticClass: "cvsPanel" }, [
                _c("div", { attrs: { id: "rstBox" } }, [
                  _vm.result
                    ? _c("div", { staticClass: "rstStep2" }, [
                        _vm._v(_vm._s(_vm.result.prize_project)),
                      ])
                    : _vm._e(),
                  _vm._v(" "),
                  _c("canvas", { attrs: { id: "mpCvs" } }),
                  _vm._v(" "),
                  _c(
                    "div",
                    {
                      directives: [
                        {
                          name: "show",
                          rawName: "v-show",
                          value: _vm.showStep1,
                          expression: "showStep1",
                        },
                      ],
                      staticClass: "rstStep1",
                    },
                    [
                      _c("p", [
                        _vm._v("您有"),
                        _c("span", [_vm._v(_vm._s(_vm.gameTime))]),
                        _vm._v("次刮奖机会"),
                      ]),
                      _vm._v(" "),
                      _c("button", { on: { click: _vm.goGuaJiang } }, [
                        _vm._v("立即刮奖"),
                      ]),
                    ]
                  ),
                ]),
              ]),
              _vm._v(" "),
              _c("div", { staticClass: "zjPanel" }, [
                _c("div", [_vm._v("中奖名单")]),
                _vm._v(" "),
                _c("div", { staticClass: "zjList" }, [
                  _vm.indexMsg
                    ? _c(
                        "ul",
                        { class: { needLoop: _vm.indexMsg.list.length > 3 } },
                        _vm._l(_vm.indexMsg.list, function (item, index) {
                          return _c("li", { key: index }, [
                            _c("span", [
                              _vm._v("恭喜" + _vm._s(item.username)),
                            ]),
                            _c("span", [
                              _vm._v(
                                "获得" +
                                  _vm._s(item.prize_project) +
                                  _vm._s(item.prize_name)
                              ),
                            ]),
                          ]);
                        })
                      )
                    : _vm._e(),
                ]),
              ]),
              _vm._v(" "),
              _vm.rules
                ? _c("p", {
                    staticClass: "copy",
                    domProps: { innerHTML: _vm._s(_vm.rules.statement) },
                  })
                : _vm._e(),
            ]),
          ])
        : _vm._e(),
      _vm._v(" "),
      _vm.browserkernel == "pc"
        ? _c("div", { staticClass: "pcPanel" }, [
            _c("div", { staticClass: "topLeft" }),
            _vm._v(" "),
            _c("div", { staticClass: "topRight" }),
            _vm._v(" "),
            _c("div", { staticClass: "img1" }, [
              _c(
                "div",
                {
                  staticClass: "hdjn",
                  on: {
                    click: function ($event) {
                      _vm.ruleShow = true;
                    },
                  },
                },
                [_vm._v("活动锦囊")]
              ),
              _vm._v(" "),
              _vm.rules
                ? _c("p", [
                    _vm._v(
                      "活动日期：" +
                        _vm._s(_vm.rules.time.start_time) +
                        "至" +
                        _vm._s(_vm.rules.time.end_time)
                    ),
                  ])
                : _vm._e(),
            ]),
            _vm._v(" "),
            _c("div", { staticClass: "panel" }, [
              _c("div", [
                _c("div", { staticClass: "zjPanel" }, [
                  _c("h2", { staticClass: "h2Tit" }, [_vm._v("中奖名单")]),
                  _vm._v(" "),
                  _c("div", { staticClass: "content-wrapper" }, [
                    _c("div", { staticClass: "zjList" }, [
                      _vm.indexMsg
                        ? _c(
                            "ul",
                            {
                              class: {
                                needLoop: _vm.indexMsg.list.length > 10,
                              },
                            },
                            _vm._l(_vm.indexMsg.list, function (item, index) {
                              return _c("li", { key: index }, [
                                _c("span", [
                                  _vm._v("恭喜" + _vm._s(item.username)),
                                ]),
                                _c("span", [
                                  _vm._v(
                                    "获得" +
                                      _vm._s(item.prize_project) +
                                      _vm._s(item.prize_name)
                                  ),
                                ]),
                              ]);
                            })
                          )
                        : _vm._e(),
                    ]),
                  ]),
                ]),
                _vm._v(" "),
                _c("div", { staticClass: "cvsPanel" }, [
                  _c("div", { attrs: { id: "rstBox" } }, [
                    _vm.result
                      ? _c("div", { staticClass: "rstStep2" }, [
                          _vm._v(_vm._s(_vm.result.prize_project)),
                        ])
                      : _vm._e(),
                    _vm._v(" "),
                    _c("canvas", { attrs: { id: "mpCvs" } }),
                    _vm._v(" "),
                    _c(
                      "div",
                      {
                        directives: [
                          {
                            name: "show",
                            rawName: "v-show",
                            value: _vm.showStep1,
                            expression: "showStep1",
                          },
                        ],
                        staticClass: "rstStep1",
                      },
                      [
                        _c("p", [
                          _vm._v("您有"),
                          _c("span", [_vm._v(_vm._s(_vm.gameTime))]),
                          _vm._v("次刮奖机会"),
                        ]),
                        _vm._v(" "),
                        _c("button", { on: { click: _vm.goGuaJiang } }, [
                          _vm._v("立即刮奖"),
                        ]),
                      ]
                    ),
                  ]),
                ]),
                _vm._v(" "),
                _c("div", { staticClass: "hdxq" }, [
                  _c("h2", { staticClass: "h2Tit" }, [_vm._v("活动详情")]),
                  _vm._v(" "),
                  _c("div", { staticClass: "content-wrapper" }, [
                    _vm.rules
                      ? _c("pre", {
                          domProps: { innerHTML: _vm._s(_vm.rules.details) },
                        })
                      : _vm._e(),
                  ]),
                ]),
              ]),
            ]),
            _vm._v(" "),
            _vm.rules
              ? _c("p", {
                  staticClass: "copy",
                  domProps: { innerHTML: _vm._s(_vm.rules.statement) },
                })
              : _vm._e(),
          ])
        : _vm._e(),
      _vm._v(" "),
      _c(
        "x-dialog",
        {
          staticClass: "public-dialog",
          model: {
            value: _vm.congratulation,
            callback: function ($$v) {
              _vm.congratulation = $$v;
            },
            expression: "congratulation",
          },
        },
        [
          _vm.result
            ? _c("div", { staticClass: "dialog-content" }, [
                _vm.result.prize_id != 1
                  ? _c("img", {
                      staticClass: "title",
                      attrs: {
                        src: require("../../../assets/images/activityCenter/label.png"),
                        alt: "",
                      },
                    })
                  : _vm._e(),
                _vm._v(" "),
                _c("h1", { staticClass: "dialog-tit" }, [
                  _vm._v(
                    "\n                " +
                      _vm._s(_vm.result.prize_name) +
                      "\n            "
                  ),
                ]),
                _vm._v(" "),
                _c(
                  "div",
                  { staticClass: "dialog-con" },
                  [
                    _vm.result.prize_id != 1
                      ? [
                          _vm.result.prize_img
                            ? _c("img", {
                                attrs: {
                                  src:
                                    _vm.imgRequest + "/" + _vm.result.prize_img,
                                  alt: "",
                                },
                              })
                            : _c("img", {
                                attrs: {
                                  src: require("../../../assets/images/activityCenter/present.png"),
                                  alt: "",
                                },
                              }),
                        ]
                      : [
                          _c("img", {
                            attrs: {
                              src: require("../../../assets/images/activityCenter/expression.png"),
                              alt: "",
                            },
                          }),
                        ],
                  ],
                  2
                ),
                _vm._v(" "),
                _c(
                  "button",
                  { staticClass: "btn", on: { click: _vm.playAgain } },
                  [_vm._v("再玩一次")]
                ),
              ])
            : _vm._e(),
        ]
      ),
      _vm._v(" "),
      _vm.ruleShow
        ? _c(
            "div",
            { staticClass: "introduce" },
            [
              _c("p", [
                _c("img", {
                  attrs: {
                    src: require("../../../assets/images/activityCenter/chacha.png"),
                    alt: "",
                  },
                  on: { click: _vm.ruleHide },
                }),
              ]),
              _vm._v(" "),
              _c(
                "tab",
                {
                  attrs: {
                    "line-width": 3,
                    "custom-bar-width": "100px",
                    "bar-active-color": "#FEC806",
                    "active-color": "#FEC806",
                    "default-color": "#fff",
                  },
                },
                [
                  _c(
                    "tab-item",
                    {
                      attrs: { selected: "" },
                      on: { "on-item-click": _vm.tabChange },
                    },
                    [_vm._v("活动说明")]
                  ),
                  _vm._v(" "),
                  _c("tab-item", { on: { "on-item-click": _vm.tabChange } }, [
                    _vm._v("我的奖品"),
                  ]),
                ],
                1
              ),
              _vm._v(" "),
              _c(
                "div",
                { staticClass: "temp" },
                [
                  _c(
                    "scroll",
                    {
                      ref: "scroll",
                      attrs: {
                        pullDownRefresh: true,
                        pullUpLoad: _vm.pullUpLoad,
                        data: _vm.myAward,
                      },
                      on: {
                        pullingDown: _vm.pullingDown,
                        pullingUp: _vm.pullingUp,
                      },
                    },
                    [
                      _vm.introShow && _vm.rules
                        ? _c(
                            "flexbox",
                            {
                              staticClass: "item-container",
                              attrs: { orient: "vertical" },
                            },
                            [
                              _c("flexbox-item", { attrs: { span: 5 } }, [
                                _c("a", [_vm._v("活动时间")]),
                                _vm._v(" "),
                                _c("p", [
                                  _vm._v(
                                    _vm._s(
                                      _vm.rules.time.start_time +
                                        " — " +
                                        _vm.rules.time.end_time
                                    )
                                  ),
                                ]),
                              ]),
                              _vm._v(" "),
                              _c("flexbox-item", { attrs: { span: 5 } }, [
                                _c("a", [_vm._v("活动介绍")]),
                                _vm._v(" "),
                                _c("p", {
                                  domProps: {
                                    innerHTML: _vm._s(_vm.rules.details),
                                  },
                                }),
                              ]),
                              _vm._v(" "),
                              _c(
                                "flexbox-item",
                                { staticClass: "rulesBox", attrs: { span: 5 } },
                                [
                                  _c("a", [_vm._v("活动规则")]),
                                  _vm._v(" "),
                                  _c("p", [
                                    _vm._v(
                                      "1.充值达" +
                                        _vm._s(_vm.rules.role.topup_money) +
                                        "元宝，获得" +
                                        _vm._s(_vm.rules.role.topup_num) +
                                        "次抽奖机会；"
                                    ),
                                  ]),
                                  _vm._v(" "),
                                  _c("p", [
                                    _vm._v(
                                      "2.投注达" +
                                        _vm._s(_vm.rules.role.bet_money) +
                                        "元宝，获得" +
                                        _vm._s(_vm.rules.role.bet_num) +
                                        "次抽奖机会；"
                                    ),
                                  ]),
                                  _vm._v(" "),
                                  _c("p", [
                                    _vm._v(
                                      "3.赢分达" +
                                        _vm._s(_vm.rules.role.win_money) +
                                        "元宝，获得" +
                                        _vm._s(_vm.rules.role.win_num) +
                                        "次抽奖机会；"
                                    ),
                                  ]),
                                  _vm._v(" "),
                                  _c("p", [
                                    _vm._v(
                                      "4.输分达" +
                                        _vm._s(_vm.rules.role.lose_money) +
                                        "元宝，获得" +
                                        _vm._s(_vm.rules.role.lose_num) +
                                        "次抽奖机会；"
                                    ),
                                  ]),
                                  _vm._v(" "),
                                  _c("p", [
                                    _vm._v(
                                      "5.充值投注赠送次数即时生效，输赢赠送次数每日12点结算，以上规则均在此次活动时间内生效。"
                                    ),
                                  ]),
                                ]
                              ),
                            ],
                            1
                          )
                        : _c(
                            "table",
                            {
                              staticClass: "item-container",
                              attrs: {
                                cellspacing: "0",
                                cellspadding: "0",
                                "border-collapse": "collapse",
                              },
                            },
                            [
                              _c("thead", [
                                _c("tr", [
                                  _c("th", [_vm._v("时间")]),
                                  _vm._v(" "),
                                  _c("th", [_vm._v("奖项")]),
                                  _vm._v(" "),
                                  _c("th", [_vm._v("奖品名称")]),
                                ]),
                              ]),
                              _vm._v(" "),
                              _c(
                                "tbody",
                                [
                                  _vm.myAward && _vm.myAward.length > 0
                                    ? _vm._l(_vm.myAward, function (
                                        item,
                                        index
                                      ) {
                                        return _c("tr", { key: index }, [
                                          _c("td", [
                                            _vm._v(_vm._s(item.add_time)),
                                          ]),
                                          _vm._v(" "),
                                          _c("td", [
                                            _vm._v(_vm._s(item.prize_project)),
                                          ]),
                                          _vm._v(" "),
                                          _c("td", [
                                            _vm._v(_vm._s(item.prize_name)),
                                          ]),
                                        ]);
                                      })
                                    : [
                                        _c("tr", [
                                          _c(
                                            "td",
                                            { attrs: { colspan: "3" } },
                                            [_vm._v("没有奖品记录")]
                                          ),
                                        ]),
                                      ],
                                ],
                                2
                              ),
                            ]
                          ),
                    ],
                    1
                  ),
                ],
                1
              ),
            ],
            1
          )
        : _vm._e(),
    ],
    1
  );
};
var staticRenderFns = [];
var esExports = { render: render, staticRenderFns: staticRenderFns };
export default esExports;

//////////////////
// WEBPACK FOOTER
// ./node_modules/_vue-loader@13.7.2@vue-loader/lib/template-compiler?{"id":"data-v-3a8eb3d9","hasScoped":true,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/_vux-loader@1.2.9@vux-loader/src/before-template-compiler-loader.js!./node_modules/_vux-loader@1.2.9@vux-loader/src/template-loader.js!./node_modules/_vue-loader@13.7.2@vue-loader/lib/selector.js?type=template&index=0!./src/components/activityCenter/guaguale/guaguale.vue
// module id = null
// module chunks =
